﻿using Game;

namespace Mekiasm
{
    public class MugCoffee : ItemFlat
    {

        public static int Index;

        public MugCoffee() : base("咖啡", MekiasmInit.GetFlatTexture(MekiasmInit.R10, "mug_coffee"))
        {
            
        }

        public override bool IsFood()
        {
            return true;
        }

        public override float GetNutritionalValue()
        {
            return 0.01f;
        }

        public override bool Eat(ComponentVitalStats v, int value)
        {
            v.Entity.FindComponent<ExtraGui.ComponentExtraGui>().AddBuff(25, 30);
            return true;
        }
    }
}